<template>
  <van-config-provider :theme="themeClassName"></van-config-provider>
  <router-view v-slot="{ Component }">
    <keep-alive include="home,Pchome">
      <component :is="Component" />
    </keep-alive>
  </router-view>
</template>
<script lang="ts" setup>
import Theme from '@/utils/themeUtil'
const { themeClassName, watchTheme } = Theme
watchTheme()
</script>
